# 从data中提取、拼接文本
def get_data_text(data):
    textOut = ""
    l = len(data) - 1
    for i, tb in enumerate(data):
        textOut += tb["text"]
        if i < l:
            if "end" not in tb:
                tb["end"] = "\n"
            textOut += tb["end"]
    return textOut
